package com.dhcc.service;

import java.util.List;

import com.dhcc.dto.TrainTeaRel;
import com.dhcc.model.TrainPlan;
import com.dhcc.utils.Pager;

public interface TrainPlanService{
	public void save(TrainPlan tp);

    public void update(TrainPlan tp);

    public void delete(TrainPlan tp);

    public TrainPlan get(Long id);

    public List<TrainPlan> query();
    
    public List<TrainTeaRel> queryTea();
    
    /**
     * 带分面的查询
     * @param currentPage 当前是第几页
     * @return
     */
    public Pager<TrainTeaRel> queryPage(int currentPage);

}
